Skip to content

test: document ctags false positive on JS prototype calls - #2196

Merged
squid-protocol merged 3 commits into
mainfrom
test/ctags-js-notes
Aug 23, 2026
Merged

test: document ctags false positive on JS prototype calls#2196
squid-protocol merged 3 commits into
mainfrom
test/ctags-js-notes

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Resolves #2194

This PR adds a note to tests/tools/ctags_reader.py documenting a parser limitation in ctags where function calls on prototype methods (e.g. Material.prototype.copy.call(...)) are falsely tagged as method declarations.

Fixes a bug where languages explicitly opting out of class extraction (class_start: None) were falling back to a generic regex and incorrectly finding classes in embedded snippets (e.g., m4 finding C structs in autoconf tests).

Resolves #1925
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit 2e5a867 into main Aug 23, 2026
28 checks passed
@squid-protocol
squid-protocol deleted the test/ctags-js-notes branch August 23, 2026 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ctags false positive: Extracts function calls on prototype methods as method assignments in Javascript

1 participant